#ifndef _GAME_UI_H_
#define _GAME_UI_H_
    #include <stddef.h>
    //引用全局变量
    extern int  shape[7][4][18];
    extern int glabal_colors[];
    extern  int init_x ;
    extern int init_y;


    extern int score_x ; 
    extern int score_y; 
    extern int score; 

    extern int level_x; 
    extern int level_y ; 
    extern int level; 
    //函数申明
    void init_game_ui();
    void print_start_ui();
    void print_mode_shape(int type,int change_type,int x,int y,int color);
    void print_next_shape();
    void clear_mode_shape(int type,int change_type,int x,int y);
    void init_new_shape();
    void print_score_level();
    void print_matrix();
#endif